how to drag and drop and retain order